class CreateBaseTeams < ActiveRecord::Migration[5.1]
  def change
    create_table :base_teams do |t|
      t.integer :leader_id, comment: '队长id'
      t.integer :name, comment: '队名'
      t.string :notes, comment: '备注'
      t.integer :customer_id, comment: '对应客户'

      t.timestamps
    end
  end
end
